package IO.xml;

import static org.junit.Assert.assertTrue;
import librairies.liste.interfaces.IListeE;
import modele.Mot;

import org.junit.Test;

public class XmlComprehensionTest 
{
	@Test
	public void testLecture() //ok
	{
		XmlComprehension xml = XmlComprehension.getInstance();
		IListeE<Mot> liste = xml.lecture();
		assertTrue(liste != null && liste.size() != 0);
		
		for(int i = 0; i < liste.size(); ++i)
		{
			System.out.println(liste.get(i).getValeurString());
		}
	}
}
